<extend name="./_base"/>
<block name="css">

</block>

<block name="content">
	<article class="page-container">
		<form class="form form-horizontal" id="ssly-form">
			<div class="row cl">
				<!--<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>ID：</label>-->
				<div class="formControls col-xs-8 col-sm-9">
					<input type="hidden" class="input-text" value="{$Admin.id}" name="id" datatype="*4-16">
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>管理员：</label>
				<div class="formControls col-xs-6 col-sm-7">
					<input type="text" class="input-text validate[required,custom[onlyLetterNumber],minSize[4],maxSize[8]]" value="{$Admin.username}" placeholder="" id="username" name="username">
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>初始密码：</label>
				<div class="formControls col-xs-6 col-sm-7">
					<input type="password" class="input-text validate[required,custom[onlyLetterNumber],minSize[6],maxSize[16]]" autocomplete="off" value="" placeholder="密码" id="password" name="password">
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>确认密码：</label>
				<div class="formControls col-xs-6 col-sm-7">
					<input type="password" class="input-text validate[equals[password]]" autocomplete="off"  placeholder="确认新密码" id="password2" name="password2">
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-3">手机：</label>
				<div class="formControls col-xs-6 col-sm-7">
					<input type="text" class="input-text validate[custom[phone]]" value="{$Admin.phone}" placeholder="" id="phone" name="phone">
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-3">邮箱：</label>
				<div class="formControls col-xs-6 col-sm-7">
					<input type="text" class="input-text validate[custom[email]]" placeholder="@" name="email" id="email" value="{$Admin.email}">
				</div>
			</div>

			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>权限组：</label>
				<div class="formControls col-xs-6 col-sm-7 skin-minimal">
					<volist name="GroupList" id="vo">
						<div class="check-box">
							<input type="checkbox" id="checkbox{$vo.id}" name="groups[]" value="{$vo.id}" {$vo.checked}>
							<label for="checkbox{$vo.id}">{$vo.title}</label>
						</div>
					</volist>
				</div>
			</div>
			<div class="row cl">
				<label class="form-label col-xs-4 col-sm-3">备注：</label>
				<div class="formControls col-xs-8 col-sm-9">
					<textarea name="intro" cols="" rows="" class="textarea"  placeholder="说点什么...100个字符以内" dragonfly="true" onKeyUp="textarealength(this,100)"></textarea>
					<p class="textarea-numberbar"><em class="textarea-length">0</em>/100</p>
				</div>
			</div>
			<div class="row cl">
				<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
					<input class="btn btn-primary radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
				</div>
			</div>
		</form>
	</article>

</block>

<block name="script">

</block>
